<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'pop_test.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link rel="shortcut icon" type="image/x-icon" href="logo.jpg" />
  </head>
  
  <body>
    <div>
    <form action="">
    <table > 
    <tr height="50px" align="center">
    <td >名称：</td><td><input type="text" name="t_name"></td>
    </tr>
    <tr height="50px" align="center">
    <td>时间：</td><td ><select>
    					<%
    					int i=1;
			for(i=1;i<13;i++){
			%>
			<option width="40px"value="<%=i %>"><%=i %></option>
			<%
			}
			 %>   
    						
						</select>月
						 <select>
						 <% if(i==1||i==3||i==5||i==7||i==8||i==10||i==12){
						 		 for(int j=1;j<32;j++){
						 		 	%> 
						 		 		<option width="40px" value="<%=j %>"><%=j %></option>
						 		 	<%
						 		 }
						 }else{
						 		 if(i==2){
						 		 	for(int j=1;j<29;j++){
						 		 	%> 
						 		 		<option width="40px" value="<%=j %>"><%=j %></option>
						 		 	<%
						 		 }
						 		 }
						 		 else{
						 		 for(int j=1;j<31;j++){
						 		 	%> 
						 		 		<option width="40px"value="<%=j %>"><%=j %></option>
						 		 	<%
						 		 }
						 		 
						 		 
						 		 }
						 }
						
						 %>
						 
						 
						 </select>日</td>
    </tr>
    <tr height="50px" align="center">
    <td colspan=2>	<select>
    					<% for(int j=8;j<22;j++){
						 		 	%> 
						 		 		<option width="40px"value="<%=j %>"><%=j %></option>
						 		 	<%
						 		 }%>
    				</select>:<select>
    								<% for(int j=0;j<7;j++){
						 		 	%> 
						 		 		<option width="40px"value="<%=j %>"><%=j*10 %></option>
						 		 		
						 		 	<%
						 		 }%>
    							</select>
    							~
    				<select>
    				<% for(int j=8;j<21;j++){
						 		 	%> 
						 		 		<option width="40px"value="<%=j %>"><%=j %></option>
						 		 	<%
						 		 }%>
    				</select>:<select>
    				<% for(int j=0;j<7;j++){
						 		 	%> 
						 		 		<option width="40px" value="<%=j*10 %>"><%=j*10 %></option>
						 		 		
						 		 	<%
						 		 }%>
    							</select></td>
    </tr>
    <tr height="50px" align="center">
    <td>参与者名单：</td><td><input type="file"></td>
    </tr>
    <tr height="50px" align="center">
    <td width="40%">占用机房：</td>
    		
    <td >
    		<input type="checkbox" name="comp" value="1001">1001
    		<input type="checkbox" name="comp" value="1001">1001
    		<input type="checkbox" name="comp" value="1001">1001
    </tr>
   <tr height="50px" align="center">
   <td></td>
   <td >
   <input type="checkbox" name="comp" value="1001">1001
    		<input type="checkbox" name="comp" value="1001">1001
    		<input type="checkbox" name="comp" value="1001">1001
   </td>
   
   </tr>
   
   <tr height="50px" align="center">
   <td colspan=2><button class="button">确定</button>
   </td>
   
   </tr>
    
    </table>
    
    </form>
    </div>
  </body>
</html>
